package cn.com.Test;

import cn.com.junit.Calculator;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;


 public class CalculatorTest {

     @Before
     public void init(){
     }
    @Test
    public void AddTest(){
        Calculator add=new Calculator();
        int result=add.Add(3,2);
        System.out.println(result);

        Assert.assertEquals(5,result);


    }
    @After
     public void close(){

    }




}
